//公共样式

.main-content {
    background-color: #fff;
    padding: 20px;
    box-sizing: border-box;
    height: calc(100% - $breadcrumbHeight) !important;
    width: 100%;
}

//search
.search-row {
    width: 100%;

    .el-col {
        display: flex;
        margin-bottom: 20px;

        &:first-child .search-label {
            text-align: left;
        }

        .search-label {
            // min-width: 40px;
            white-space: nowrap;
            // padding-right: 5px;
            line-height: 32px;
        }

        .el-select {
            width: 100%;
            padding-right: 40px;

            .el-input {
                padding-right: 0 !important;
            }
        }

        .el-input {
            padding-right: 20px;
        }

        .el-date-editor {
            margin-right: 20px;
            padding: 0 0 0 10px;
        }
    }
}

.search-checkbox {
    color: #000;
}
.error-row {
    td{
     background: #FFF4F4 !important;
     color:#FB3B3F
    }
 }

//通用table
.table.el-table {

    .el-table__header {
        height: 44px;

        .el-table__cell,
        .el-table__cell,
        .is-first-column {
            background: #F2F3F5 !important;
            color: #000;
            font-weight: 600;
            font-size: 14px;
        }
    }

    .el-table__row {
        height: 44px;
        font-size: 14px;
        color: #000;
    }



    tr:hover>td {
        background-color: #F2F3F5 !important;
    }

}

//通用分页
.pagination {
    margin-top: 20px;
    display: flex;
    justify-content: right;

    .number:not(.is-active),
    .more {
        background: #fff !important;
        border: 1px solid #DCDCDC;
    }

    .btn-next,
    .btn-prev {
        background: #fff !important;
    }
}

//Dialog
.main-dialog.el-dialog {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    margin-top: 0;
    max-height: 80vh;
    overflow: hidden;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    .el-dialog__header{
        font-size: 16px;
        font-weight: 500;
        color:#000;
        padding: 20px 20px 10px;
        .el-dialog__headerbtn .el-dialog__close {
            color: #000;
        }
    }
    .el-dialog__body {

        overflow-y: auto;
        padding: 10px 20px 20px;
        .dialog-form{
            .el-form-item:last-of-type{
                margin-bottom: 0;
            }
            .el-input,.el-select{
                width: 100% !important;
            }
        }

        .details{
            .details-item{
                color:#000000;
                font-size: 14px;
                line-height: 22px;
                & + .details-item{
                    margin-top: 10px;;
                }
            }
        }
    }

    .el-dialog__title {
        font-size: 16px;
        font-weight: 500;
        color: #000;
    }

    .el-dialog__footer {
        padding-top: 0;

        .el-button+.el-button {
            margin-left: 20px;
        }
    }



}



.el-card__body {
    height: 100%;
}

// .area_popper {
//     background: url('@/assets/img/screen-bg.png') 100% 100% !important;
// }
.el-select-dropdown__item.is-disabled {
    opacity: .3;
}
.el-form-item__content{
    font-size: 14px !important;
}
.el-input.is-disabled .el-input__inner {

    -webkit-text-fill-color: initial  !important;

}
